package com.wuyi.tea.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuyi.tea.domain.dto.ArticleDTO;
import com.wuyi.tea.domain.dto.CommentDTO;
import com.wuyi.tea.domain.pojo.Comment;
import com.wuyi.tea.domain.vo.CommentVO;

import java.util.List;

public interface CommentService extends IService<Comment> {
    List<Comment> listById(Long id);

    void likeComment(Long commentId);

    List<CommentVO> getProductCommentList(Long productId);

    void releaseComment(Long productId, CommentDTO commentDTO);

    void deleteProductComment(Long commentId);

    void releaseArticleComment(Long articleId,CommentDTO commentDTO);

    void addlikeArticleComment(Long articleId);


    List<CommentVO> getArticleAllCommentList(Long articleId);


    void deleteArticleComment(Long commentId);
}
